﻿using MediatR;
using System.ComponentModel.DataAnnotations;
using WeekExam.PassPort.ErrorCode;

namespace HealthcareSystem.API.Write.Application.Command
{
    /// <summary>
    /// 注册处理命令
    /// </summary>
    public class RegisterCommand:IRequest<ApiResult<int>>
    {
        /// <summary>
        /// 用户ID
        /// </summary>
        public int UserId { get; set; }
        /// <summary>
        /// 用户名
        /// </summary>
        public string? UserName { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        public string? UserPass { get; set; }
        /// <summary>
        /// 昵称
        /// </summary>
        public string? UserNickname { get; set; }
        /// <summary>
        /// 手机号
        /// </summary>
        public string? UserPhone { get; set; }
        /// <summary>
        /// 企业名称
        /// </summary>
        public string? EnterprieName { get; set; }
        /// <summary>
        /// 统一社会信用代码
        /// </summary>
        public string? CreditCode { get; set; }
    }
}
